#!/bin/bash

topts=$(adapt query lib/trilinos opts)

if [[ $topts != *hdf5* ]]
then
  # deploy with hdf5 but prevent using stdout as it must be reserved for the output of this script
  adapt deploy lib/trilinos hdf5 1>&2
fi

echo -D TPL_ENABLE_HDF5=$1
